package com.bwie.groupon.feign;


import com.bwie.groupon.to.FlatsTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("house")
public interface HouseFeignService {

    @RequestMapping("/house/flats/getHouse")
    FlatsTo getHouse(@RequestParam("flatsId") Integer flatsId);


}
